package com.pitb.citizenreporting;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashActivity extends Activity {
	private final int SPLASHTIME = 3000;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.splash);
		new Handler().postDelayed(new Runnable() {
			@Override
			public void run() {				
				Intent mainIntent = new Intent(SplashActivity.this,
						MainUI.class);
				startActivity(mainIntent);
				finish();
			}
		}, SPLASHTIME);
	}
}